initial commit
add hooks for backend
close database session when request ends
add test stubs to match spec
add note about flask social to note