Added authentication, login and off, etc.