deleting controller Ajax functionality

Response handling and alert notification.