Modify upload and crop avatar feature.