End of day 7-9-14 - added more login stuff and todayNudge query