Add types and methods for materials commons models.
Unit test and fix up checking if user has access. Function is not
intuitive and needs to be changed.