Changed login form to handle messages and errors
Fixed bug for when no user is found