add license to DB + get key from POST in checkLicense