usermanager: replace short circuits with if statements.