Added flag that will display the logout button if the user is logged out or not.