added rules
added form handling
improved form handling
form clears after successful submit
data saves correctly
interface completed