added keepalive(), logout(), added self.authentication to keep login-authentication response details like server URL information. Added some documentation on user preferences