Made main.js more clean by adding a "forStaff"-function, to be easy to edit later on.