Adding sign-in and sign-out functions to AdminManager