changes made to cater for twitter token error in settings