Fixed calling gsub on nil value when extracting deliver url.
Added user_type and institute on orders, for later statistics.