Refactors login knowledge into User
Merge pull request #5 from Sage/refactorlogin

Refactors login knowledge into User