Flask backend for the Crowded app