Updated upload activity and added a library loopj for uploading files and other http requests