ticket:3 added tests WebRequest model
ticket:3 creatd middleware, change templates
Merge branch 't3_nethen' add middleware, modified templates