set up log in action
support config file