adding user_id to stats