generalized getprofile() : get profile for login, edit, own
user level, contactus and other changes
Merge pull request #47 from Ankita-Malani/master

generalized getprofile() : get profile for login, edit, own