set up view routes