Added content type to ajax calls and base routing