Fix twitter login and ajax system