Added password serialization