hiding relevant buttons when logged in