The startBattle function will now subtract 1 energy from the user, and by running at.sh, an at command will be executed every day at midnight to add 10 energy to all users.