Fixed 2 SQL Injection Vulnerabilities
Removed unneeded while loop
Merge pull request #4 from Jpnock/master

Fixed 2 SQL Injection Vulnerabilities