working on login/register pages