handle login success / failure
load omni if edit mode