Add accounts relationship for sites

Main code rev. 1983