This is a sample application to run at the LoginWindow.  The LaunchAgent needs to be placed in: /Library/LaunchAgents.   (For this specific example, the app needs to be in the Applications folder for the LaunchAgent to find it, however that can be changed easily by editing the LaunchAgent property list file.)