Rewriting some code
Merge branch 'master' of https://github.com/magnusulf/CookieConomy/