:- http_handler(root(api/users), users_route, []).
% GET /users
users_route(_Request) :-
bagof(user(Username), user(Username, _), Users),
reply_prolog(Users).