Changed User with UserProfile in the api