enabled user login by name and  added customization to devise