Refactor comnon auto columns
Add some form validation.