creating some views (index and show)