delete 'legacy' code in favorites controller