improved friend manage plugin