add form and validation