login/register custom errors