adding favorites to db