Pass the next function to verifyApp