changed fb and google+ logic