re-insert url hashing
change incorrect status codes
Merge pull request #82 from GabeMedrash/url-hashing

fix hashing and status codes