delete last slash and change avatar
add avatar file