redirect function with header
Merge pull request #11 from acpmasquerade/hotfix-issues

redirect function with header