updated the login / email validity check
fixed login name quoting issue