Add events, event tests, authorization
Merge pull request #1 from asinner/accounts

Add events, event tests, authorization