Update login_function.py

Put the "exit()" in the wrong place. *facepalm*