Added OAuth support and updated ILogin implementation