better error logging
made finding by id more sympathetic
updated status codes