trying to get the post request working