fix for account creation and sync with mobile devices

two small fixes.