store client in mongo