Improve SinglePageApp.
Thought it doesn't work yet.

maybe should return  Json instead of Content .