login activity database query & insert work, reorganized async Logintask finishing behavior