small fix for cases when we call method sin console
fix error when User.current_user is Symbol