updated POST url in controller