validate the existence of app