MyProfile navbar button functionality