added upload view and made some changes