added validate form not working yet