Auth manager

Auth manager is done.