bug fixes and added social button functionality