Created crud operations in controller