Use clearer code to distinguish logged in users from anonymous users.