Styling resource index page and seeding DB with resources

Refactoring Resource sort login into model