made dynamic login window