updates submit.php

adds expiration date to addRequest.
adds functionality to send calls to submit.php and have them run.