(#51) Both SQL queries are now using prepared statements.
Merge pull request #73 from ua-snap/use_prepared_sql

(#51) Both SQL queries are now using prepared statements.