Add logout and validate handler implementations