view data according to user role