updated order view and added paginate gem