Use one method to get user id