Added clear button
required fields and clear code