added details controller and view