got the router working for changing views