I was looking up information as to how can I make sure that a WordPress.org blog displays different content for non-registered users and again a completly other content for registered users, but honestly I couldn't find any article or thread that explained it very well or simply missed the non-registered users part.
The code I'm going to provide you with below is an example to how I resolved this (very simple actually).