removing psuedo terminal support (it was ugly) and added support for username and port