added user validation via mysql
cleaned  values