fixed nav and added mongoose