finish middlewares
Merge pull request #40 from prisis/develop

finish middlewares