added nested resources for master/detail tables/table view