login changes to allow account syncing