added upload profile pic functionality