Renamed namespaces and classes, glam up the login user interface and implementen dialogs that are shown on login failures.