updates on getUserInput and more bug fixes