contrail web ui controller code