updated some controller controls, created unit tests
if username doesn't exist then use email address instead
fixing bug with admin creating army and it not adding the code
update partials