added a method to get profile image