init empty the apikey and give alert when the apikey is empty