add details controller and widget