User register/login control,model