Fixed security problem

Unlogged users could see some data