Updated blog controller to throw 404 error