convert user_id to int