added dubugging for edit aas well as changed for friends list