Added delete, added alerts for flashed messages