Fixed contact form issues

Provided thank you message and cleared the form data after submission.