adding logout button when logged in