Added support for roles in web services and server, but without database. (Not fully tested)