Be more explicit about the current user's data variable name
Add missing curly brackes for multi-line statement