code not working

@eggwebtut

  1. The logout button doesn’t appear in the lightbox unless you put it there.

  2. Even if you add a Logout button to the lightbox once the user clicks Logout, the page will get refreshed and the lightbox will be closed.


P.S. If you’re not referring to a lighbox but to a webpage, all you need to do is to set the permissions to Members Only