Added methods to enable user contacts to be retrieved.

Changed login protocol.