add a user-id parsing method