added base for ajax calls