modified login servlet