port basic functionality (oauth not working)