Added the beginnings of a post handler