Almost have a working authentication system.