added authentication for post entry form