updated sql queries
updated sql queries

reflective of new db design.
still need to sanitize input to prevent sql injection attacks.
should probably do some error checking, too.

oapi/shieldsup,oapi/shieldsup,oapi/shieldsup