configured login to appear when out of session and logout when in session