change routes and added upload picture