added additional fields to front of site and ajax nonce security functionality