adding view orders and checkout order functionality