Changed static error message on login page to noty message.