Redirect guests to login page for non-public posts