removing mongoose dependency