user profile UI update and logout button if user logged in