added button bar to view pages.still need a add button on index and back button on add/edit