fixed response editing function completely, created Company and User resources