Added new libraries and changed querying to POST with data