Adding oauth support
WIP
WIP