finishing up identity model, making transport adapter, exposing adapter properly, setting up middlware and routes