add home integration and adapt the authentication system