 		if RocketChat.authz.hasRole(@userId, 'admin') is false
 			return RocketChat.API.v1.unauthorized()
 
-		return { users: RocketChat.models.Users.find().fetch() }
+		rpage = if @queryParams.page then Number(@queryParams.page) else 1
+		ritems = if @queryParams.items then Number(@queryParams.items) else 100
+		users = RocketChat.models.Users.find({}, { limit: ritems, skip: (rpage-1)*ritems }).fetch()
+		
+		return {
+			users: users,
+			page: rpage,
+			items: users.length,
+			total: RocketChat.models.Users.find().count(),
+		}
 
 
 # Create user

that are not URL safe (e.g., '#' and '@'). Example:
'http://domain.com:3000/api/v1/room/%23testRoom/integrations'
###
RocketChat.API.v1.addRoute 'room/:channel/integrations', authRequired: true,
	get: ->
		
		if RocketChat.authz.hasPermission(@userId, 'manage-integrations') is false

			
### Create Private Group
Request example:
  { "name": "room5", "members": ["Jeff","Larry","Stephen"]}
###
RocketChat.API.v1.addRoute 'groups.create', authRequired: true,
	post: ->
