Input validation for sender and to
Version 0.3