Server code for Pushy