Add membership, url routing and error handling