updated controller method to show user order history