AFC Fylde have confirmed the appointment of Frankie McAvoy to the coaching team at Mill Farm until the end of the season.