Refactored user profile configuration