Added method for storing users timelines in database