adding methods for oauith2 login flow and addapting connector to actual server