Added ajax validation

Working