Login

Credentials are stored hashed (bcrypt). Switching modes toggles between login and registration.