Client side code for AppToDate application