add handler to download photos