Add the default callback function of ajax

* Add two test view of 401 and 403