add up and validate in login with js
: