Rewritten login system. Both session and permanent. Pending tests written!
Merge pull request #38 from ehannes/loginRewrite

Rewritten login system. Both session and permanent. Pending tests writte...