replaced basic auth with twitter oauth