created new controller for managing