Added buttons for view/edit profile for logged in users.