Updates views pages

 - index page loops through @resources, which pulls
   info from the database