add routes to views