fixed custom error on login page