Fixed query error in addtocol and removed addition link if not logged in.