Refactored authorization link click callback
Refatored authorization link href setting
Added a few documentation strings
Reordered coded
Refactored the task actions display to use data binding