Attacks page and battle logic added