A way to easily declare logic in your routes by decoupling rules as single function