added a simple auth manager
added a simple auth manager