created controller and routed to it, with a view