added new methods on XML parser class. SignUpActivity can now check response message type and get the token from XML message