added exempt for ajax