implement UserRepository#exists.