minor changes to authManager..