client/loginpage.py: check whether is main()