Created getprofile & changed public to private