Updated logIn.py

added comments to code