added support to get user data from http post request