validation not working, added some php