Security for the new user implemented (jQuery)