prevent duplicated form submission

use JavaScript at the client and Session at the server to prevent user
from submitting repeated forms