set and request user_id cookie