set root as pictures#index
using helpers to navigate between pages
can edit pictures now
can delete pictures now
refactored to use resources