Refactors login knowledge into User