fixing post user not working with json as request content