Put terminal handlers under base_url