added exception mapper to return appropriate http status codes