Draft for auth checking on route change