Monkey patching of user authentification