add users endpoint
update endpoint to filter by type