Just needs a few validations and cleanup

interesting choice for redirecting. This takes them back to whatever page they came from, right?