Integration of MongoDB for the users collection