Changed the way employee's role is checked