Ajax Request wrapper, and start to use it in the login code
Get the error response from the request
Messages view to display alert messages easily. Use this to display
login failures.
Authentication now goes all the way to the data store to validate username and password