}
result.setAuthor(author);
//TODO: get from data base
AuthorSidebar authorSidebar = new AuthorSidebar();
if (n.hasProperty("metadata:url")){
authorSidebar.setWebsite((String)n.getProperty("metadata:url"));
}
else {
authorSidebar.setWebsite(null);
}
authorSidebar.setTwitterHandle("renepickhardt");
authorSidebar.setAdvisor(null);
authorSidebar.setStudents(null);
result.setSidebar(authorSidebar);
for (Relationship rel:n.getRelationships(DBRelationshipTypes.CO_AUTHOR_COUNT)){
Node coAuthor = rel.getEndNode();