Adds users and json based error handling
Merge branch 'master' of https://github.com/wtsi-hgi/hgi-project