modified login/register (non-functional)