added CRUD operations and image loader in the add controller