Updated functionality for viewing friendships and deleting friends