Added login.py and login code generation
forgot the return statement