Redirect not working, thinking about better solution.