Blog post code encrypting and storing database and displaying posts