Finished twitter connect function