refactor records deleting from logbooks.show