return 404 if note does not exist for get request