displaying menu only if logged