Revert "Make addPost work for authentication."

This reverts commit 6db04c5744f12e36254fcd5ebd98fa0e9582ed04.