integration test loginUser function with trigger #6. added lockedout user check