added the generate user id method

Currently the generate id just returns -1 :P. I reverted to the old
pom.xml so that I can generate the jar. @Michele, I guess you don't
have to update to this pom.xml

Also, I have added the internal userID to both download tasks so
that after the downloading is done, the mapping can also be created.