add AuthManager and Guard