login/register updated