integrate the profile page with main activity