Removing dependency of MongoDatabase from UserStore implementation

Removing dependency of MongoDatabase from UserStore implementation