user input form java working