get userid from user input.