main page response and login page