improves js for roles, applies green background to differentiate the pages for now