Add refresh token to postgres example
Add memory example. Closes #8
Fix dynamo coding style