login to def and login.py to simple_login.py