removed unnecessary methods from Post class