added js directory to /public and scripts file; updated nav to reflect logged in vs logged out user