add alerts to login