4
You'll need to make the custom block first, then go into admin-->Groups, Modify the Anonymous Users Group, to see the block. then modify all the other groups to NOT see the block.
this way you'll get an "entrance message" block for anonymous users, but once they login/register, it goes away.