Added exit() adter redirect headers