How to display blocks depending on the logged in user?
You could go to blocks setting and there are Roles tab.
If you check "anonymous user" - this block will visible only for not loggined user. If you check " authenticated user" - block will be visible loggined user.