add alerts to login 2