PIPELINE DATA, INC. SECURITIES PURCHASE AGREEMENT August 31, 2004