attempted greeting function
uncommented addFriend function but still a WIP