cleaned up the code in views/site/index and views/site/profile, and modified custom.js, added 3 new modles to handle RBAC