Secure user inputs in terminal