Server backend for the pub apps