Bug fixes

*Fikset settere i registeret
*Mer logisk syntax i registerSingleton
Merge pull request #29 from bflugon/LoginQuickFix

Bug fixes