introduction of API commands

easy enrolment of new users to the web service so that it is possible
to do real dongle hot-plugging.
This includes generation of API IDs - 48 characters