fixed authentication using twitter
a lot of changes but I don't remember what
makeup