adding a new controller for DB connection