Create interface for ID authentication. Create class to implement the
interface with an XML file. Improve PHP code style.