Router before session and old Rem API