Implement QueryChecker to prevent SQL injections