server part of ticketsell program