another fix to login/register, works again now