Merge "Added log statements to some user-switching tasks."