Added API for querying users. Added getters/setters for the client.