How rants on social media can come back to haunt you