Added support for error message on login page.