Return user_id after creating the token - Fixes #1