Add some methods to PG
add a rdf:type foaf:Person to the generated WebId card on registration
Refactor the viewer.js code