General Purpose Authentication System