add sign up controls in js