refactored view of restaurant index and show page