sending user id and name to server