Define getter for userFavorite attribute