Added function to check if the id is friends with the account being used