updated controllers with basic CRUD actions