Fixed minor typo
Fixed non-keyword arg after keyword arg
Using items instead of iteritems method in dicts
Disabling third-party login
Added support for use a replicaset