Merge pull request #2 from tobiasmuecksch/master

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

Fix broken session handling
Add methods to get active users, suspended users, if the current user is an administrator and also activating suspended users
Return the user role in the active and suspended users queries
Merge pull request #5 from tobiasmuecksch/master

Fix broken registration
Fix broken getSession function
Refactor login method

to return if a particular user is an administrator.
Merge pull request #6 from tobiasmuecksch/master

Refactoring regarding user factory implementation
Merge branch 'master' of https://github.com/paperdreamer/userManagement into upstream/master
Remove method to get admin state
Merge pull request #4 from boom1992/master

Add methods to get active users, suspended users, if the current user is an administrator and activate users
Refactor user activation
to return the affected user's id.
Remove comment
since it obviously is deprecated.
testing
first commit
Merge pull request #7 from baerenfaenger/master

Refactor user activation
testing
deleted new lines
added the lines back
Fixed some sytax