Add exports.favorites to back-end