fix logged-out bug and contact routes