Add header controller and add error message for login page.