Added command line flags to specify port number and user name