show navbar only when logged in.