Added interceptors for ajax calls.