Move getUserAuthorizationForProfileSharing call out of viewDidLoad and into viewDidAppear
Merge branch 'Issue#192' and fix constant auth code bug.