add login-form session flag to home page template