Fixed bug where you couldn't login after and failed login