web intent code reduced to single instance and modified to reflect
server side changes.