Removing echo statements before router redirect to avoid 'Headers already sent' Exception on Live env