Server-side component of enCal app