refactor social network share component to allow better class inheritance
fix variable mistype in recipe model