fixed login error for user not in db
the real way to deal with NoResultFound for non existing user in db