set up media folder and created direct action page