Fixed login after you have logged out