add alert controller