Changed savedsites to object
Added logic to push websites to database