added method for user roles and permissions.