modified route, check user login/logout state