Fixed Register Log in

Put in while loop around Listen.cs  connection to server.