added the from url, and made it to store all vars coming from the post