added signal handler so that when user presses ctrl+c it quits and doesnt ask for their name