when logged in, accessing "/login" and "/register" will redirect to "/wall"