Merge pull request #5 from markkopaas/master

make user model accessible for login process
New version because of pr #5
Merge pull request #6 from markkopaas/master

remove session from database on logout
allow removing default attributes from model