created a controller(index page), editted routing