Enable controllers to run under framework 3.1

- Add $allowed_actions to UserDefinedForm_Controller