macro_rules! check_logged_in {
    ( $state:tt, $session:tt, $path:tt ) => { ... };
}