Update all loggedInUser access to be dynamic (bug 1066511)

why single quotation marks?