Fixed login after creating account