LogIn Authentication Improvements

Now a user is verified properly, and the login failure messages show
accordingly. The only thing that is left is session management.