modified and added controller and service