fix bug on not logged user