optimise some more calls to findUser to reuse connections
clear up syntax due to realm changes