Moved login and logout functions to setup.py
changed shell