ticket:3 Added tests for requests page
ticket:3 Added middleware and requests page
Merge branch 't3_middleware'