updated handleAddPost controller - add post now works