add error handling for invalid email when creating user
fix tests