Adds functionality to valid email

Refactors validating email to a helper method. Checks for valid email
format in update method in UserManager.

Author: Shockolate tcarmstrong