fix a bug. user emails were not saved during sign up