Updated settings page with validation