Delete friends function now works and some other changes.