code: private Node getProfileNode(Node userNode) throws RepositoryException
     {
        try
        {
           return userNode.getNode(JCROrganizationServiceImpl.JOS_PROFILE);
        }
        catch (PathNotFoundException e)
        {
           return userNode.addNode(JCROrganizationServiceImpl.JOS_PROFILE);
        }
     }
docs: Create new profile node.