add file login.py to create object and proxy json file