API calls to filter user list by username/email

add pagination to /api/users
add support of id based filtering