PHP Backend for cowshot clients