added and resolved edit, create, and destroy in products controller;