Added validation and error messages for required fields in user profile