rewrite refresh num function ,and fixed reg/login function.