Updated error handling and request validation for user service