draft of getUserId