registration added and relationships added and tested