added infrastructure for login page