adding form validation, adding sort to the data, updating and adding more styles