added ui bootstrap functioning but not with mongoose