Pending invitation check webscript implementation