Updated getAllUsers to support calling new users api with offsets and tokens.

    * Modified getAllUsers to support offsets, count & token.