sync data from databases
use context argument in all API calls
show wait dialog on login
use alert dialog to display message