User input class