Adds support for alerts in the frontend.
Adds alert support to Login View.