implemented login and updated setup.py