Merging Logic Programming into Web-based Technology: A Coordination-based Approach