added role check onLoad for each page