handle anonymous users trying to view page