Added input validation method to presenter