implement feature for admin to view all orders and change the state of orders