Improved login loading spinner: Callback methods are used instead of
messages