use login from config