Add views for index and event detail.