Added alerts to login pages