Added basic validation, clearing form on submit