Fixed bugs with user signup and email verification