removing deprecated code, work around on devise user to get working with mongoDB