Validate email regex with js
Add username test with json api