recoded signup and login after losing data