Add function getRemoteUser, removed RMI serialization functions in
comment