using config file for session mongodb