added twitter login logic