added behavior of logged user and without logged user