Added method to retrieve profile data