Protected SQL from injections and used pooled connections