Fixed isUserProfileValid to return all errors
Returned insert query and added comments
Moved isPasswordValid lower to make sure email error is first
Removed debug info and added break if email already exists