changed ProductsController to ensure users are logged in to create a new product