Merge pull request #8 from pmjones/develop-2

Major refactor of responsibilities
Merge pull request #10 from pmjones/develop-2

Use Exceptions instead of errors, remove Auth object
User object should be retuned, and variable name fix
Merge pull request #13 from harikt/fix

User object should be retuned, and variable name fix
extract login/logout/resume functionality to handlers
Merge remote-tracking branch 'upstream/develop-2' into handlers