removing hook for redirect
trying the redirection in the node preprocessor