login package commented and cleaned