Changed HTTP response code of controller