Cast user_id to integer