ticket:3 fix styles in templates as mockup
ticket:3 test middleware