Added UserHandler class and methods to UserInterface