Merge pull request #2 from tobiasmuecksch/master

Update database scheme
Merge pull request #3 from tobiasmuecksch/master

Fix broken session handling
Merge pull request #5 from tobiasmuecksch/master

Fix broken registration