changed user profile model to 'UserDetails'