replaced redirect handler with http pkg implementation, fixed example and comments