main program is login.py,re is in repattern