updated methods in controller and setup user
simplified getProfileImage