Added Check for invalid Controller Input specified

Handled Resource 'resoucename' not found exception