modify index to redirect to photos.