Removed SQL injection vulnerabilities