Added user profile. Trim whitespace from input before validation.