Create loginlib.py

Creating the files.