FIX: slim.after is called too early (before response is sent to the client). ALSO:

also move slim.before for enhanced symmetry