Add check to allow accepting friend only when user has really invited
the other user.