added upload and album view functions