Edit profile image: Added logic to check that user is logged in and viewing their own profile page