sign in/out improved, 1 new non-fatal bug

Bug: When the sign in method is called and the user hits cancel on the
login window, the progressDialog fails to close.