error check user inputs to server