Fix initDB. Set up login off mongo instead of json.