FIX: added check whether the route is secure and if we're authorized or
not.