added upload and add product functionality