clicking new product works and also uses the route to handle id or null