Implemented basic centralized authentication