implements csrf interface
Examples to work with new layout