Added apache commons validator external library for email validation. To be used in line 149.