Cleaned up response from a function, errored out in certain cases
Merge branch 'master' of https://github.com/leovander/CorrelaterBackEnd