added Twitter and Facebook sharing capabilities
updated code to work with backend server