Added method security restriction support

Added capacity to restrict access based on user roles