removed several bugs, but still are some with the friendship request