added first function and the function adds the the boarding passes.