First time setup, better login code, and ANT file