license validation