test alert on login