some if statements for social links