Removed die() and added redirect

Just a simple contribution here, but I think the use of a die(); was too brutal.
A redirect seems a better choice.