Added permission checking for task edit page;
Added permission checking for adding members to project;
Some UI improvements.