Input class now has a delete function
Removed print from API Controller

Also deleted 'redirect' variable from input if present in API call.