Better way to get user_id.