Added code for uploading to parse.com