login scope initialization simplified