adding parse functions to app to replace backend Parse Cloud service