added database loader for form validation. Fixed table name