Added mongodb library and basic mongodb support for token validation