Corrected is_logged method for model User