updating permissions, upgrading backbone, cleaning up some code