testing login/register linkage