working loginCheck module on route change :zap: