fix of login form submit & error when no charge cusstomer provided