added check to see if user has already filled the form