Only logged in users can log out.  Only logged out users can log in or register