Fix routes when logged