login/register should throw errors, but don't and I'm not sure why