added admin functionality for products