app_user parameter ternary operator to account for guests