Almost got prepared statement working