prelim setup of the login page