App doesn't crash when login unsuccessful