modified login component