cohort upload working well, must add tests though

Change-Id: I3253986ad86952de0d864fff6fff164f3514b4c0