hide some code when user not logged in, prevent error