new docs, wire in new login/logout for api