Serverside code for fleamarket