Adding before and after handlers
This allows an application to do pre and post processing on every request