Sample code for gschool app