Added functionality to clear form on refresh