added view for index controller and called rendering function; added footer to view