user sees 'log out' button instead of register & log in inputs after logging in