errorMessage for login/register submiting