fixed some signup/login problems