added ajax call, json serialization and updated lead table output