fixed error notifications on login/register.