Added Check for invalid Controller Input specified

Handled Resource 'resoucename' not found exception
Merge remote-tracking branch 'origin/dynamic-roles' into form-validations