Edited the example controller. Debugged the exception in the Controllers class in case of an incorrect return.