added authentication for twitter, but only functional part
bugs with twitter authentication fixed