login: modularize a bit
IS2: make login actually work (filters missing still)