added categories to submit and edit posts.