fixed GET method for posts so that properly add to postList