add features to upload local user avatar
add features to upload user avatar