post logs in and passes the resulting xml to the client