Get input from a user