Added Todo input validation, the server breaks on empty inputs with an exception instead of an error message.