Code refactoring for /users/:id/bookmarks