added tornado handler to handle redirect request, separate log processor from view