fix login/register forms