added user models with permission types. updated note and video models. note destroy works