get userid from user