Added function getUserProfile for pretty profiles.