set up auth callbacks
Merge pull request #1 from dmcguinness/fix/store-users

set up auth callbacks