I have created a splash screen that ask for the users license key which will then be searched using an API but it I need to make the code wait until I have enter the code to