added cach_dir and extension_white_list to avatar_uploader