Rewrote post api methods to accomodate table changes