refactored to use node modules, and fix social nav resp