Revert "Corrected is_logged method for model User"

This reverts commit edf798ef5ef64a7e73763c412b4a24f1adeda3e3.