debugging server response to login post request