Hooked up bars page to SQL sprocs