form submit refactor and css