Implement server-side endpoints