fix InstallTask
update, change session's cookie name
minor code review
added the ability to export/import permissions