Added Prepared Statements for _POST and validation for _GET
Fixed with _GET sort order
updated to check for empty post and not submit