added how to register a new layout template