Auto add new users in mongo

If a user is not in the mongo database, their information is inserted
into the database.