Add required login middle ware for some path.