error handling middleware + updating readme