add gem
white space
some simple access control for document
cleanup
access control for docs
view pending memberships
js
add essential routes
helper function
view different links...depends on user state
cleanup
helper controller methods
add membership controller
fancy memberships magic