Added error handling for new user where email already exists.