finished user api tests, fixed not sending default error message for userValidate function