Skeleton for server code, not working
Server side