Added Authentificator logic and test framework