updated mongodb user creation