added AuthHandler and MockRepository