Updated two functions from GET to POST requests
Added more specific errors when deviceGuid is missing or invalid
Removed unnecessary file