add input for pass if null in config, check msg before send to BE