Fixed typo (loged > logged)