Middleware for use with Node and Express, to help perform role based authentication