LOCAL: Adding RESTful role and securing REST interface