add mongodb to save user and redis configuration