Before handler and login page.