added upload initial funcionality