Fixing api bug, removing Request from router() signature