Rewrote simpler LoginViewController that saves login data to defaults and cloud.