Add refresh from iCloud logic and auto-save of login/password