added upload image to main page