add userId to login/register response