added  midnight_signout.py and re-organized code