Updated post and contact objects to work with the front end