Changed db table back to contents
Updated contents controller view to work with slugs