Changing UserProfile and Example code