the serverside database module of things-happened