updated not logged in logic for rewards
preparing for merge