Added code for clearing form data