Add Cookie object. Add RequestFile object. Add uploadDocument method for default controller