added upload image to event

added upload avatar to user with ajax