changed settings page input types
added form validation and default value handling