added extenstion_white_list to photo upload