added get friend info method