fix login/register page