added POST and params hash