added alerts and secured admin