added user scope
user is logged in
helper for user_info
working in progress batch result writer