simple client side router using component