Added the connect functionality to the wordpress plugin