login page made modular