log userid from login