Added Edit function for every product in the index page