Created photos and static pages controller