email and name validation added for 'add member' functionality