Chapter 8 set current user helper