fix login/register bug