hide search and node creation if user not logged in