router is working very well. Todo: handle ajax/json request