Added create, edit and delete functions for products