added timeline method to twitter class