added email validation to util and cleanup code to use spaces