snippet weeding login