added function to retrive profile image