add upload avatar function
delate pre avatar when upload new avatar