ADD: new logon checker
Login page now uses template inheritance