updated getusers to use constants for server and port