fix getUsers endpoint