Caught NullPointerException with trying to login with a user not in the DB