Login dialog now passes info back to main class